#include <iostream>

#include <rects.h>

int main()
{
    Rects a{0, 0, 100, 100};
    Rects b{0, 0, 100, 10};
    Rects c{0, 90, 100, 10};
    Rects d = a - b;
    Rects e = d - c;

    std::cout << "a: " << a << std::endl;
    std::cout << "b: " << b << std::endl;
    std::cout << "c: " << c << std::endl;
    std::cout << "d: " << d << std::endl;
    std::cout << "e: " << e << std::endl;

    Rects f{0, 0, 100, 100};
    Rects g{40, 40, 20, 20};
    std::cout << "f: " << f << std::endl;
    std::cout << "-g: " << f - g << std::endl;

    Rects h{0, 0, 100, 100};
    Rects i{40, 40, 20, 20};
    Rects j{60, 0, 40, 100};
    Rects k{40, 0, 20, 40};
    Rects l{40, 60, 20, 40};
    std::cout << "h: " << h << std::endl;
    std::cout << "-i: " << h - i << std::endl;
    std::cout << "-j: " << h - i - j << std::endl;
    std::cout << "-k: " << h - i - j - k << std::endl;
    std::cout << "-l: " << h - i - j - k - l << std::endl;
}
